﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.SysModel
{
    /// <summary>
    ///  
    /// </summary>
    public class DictModel
    {
        /// <summary>
        ///  id
        /// </summary>
        public int id { get; set; }
        /// <summary>
        ///  目录名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        ///  英文名
        /// </summary>
        public string enLang { get; set; }
        /// <summary>
        ///  父目录ID
        /// </summary>
        public int pId { get; set; }
        /// <summary>
        ///  是否为根
        /// </summary>
        public bool isRoot { get; set; }
        /// <summary>
        ///  备注
        /// </summary>
        public string itemNote { get; set; }
        /// <summary>
        ///  折叠状态
        /// </summary>
        public bool open { get; set; } = false;
        /// <summary>
        ///  子目录数据
        /// </summary>
        public List<DictModel> children { get; set; }
    }
}